import { BaseMgr } from "../base/BaseMgr";
import { throttle } from "./Throttle";

export class Decorator extends BaseMgr {
    static get inst() { 
        return this.getInstance();
    }

    /** 节流阀，用于修饰被调用函数，被修饰的函数在delay毫秒内只能调用一次 */
    throttle = throttle;
}